package com.ymm.driver.core.facade;

import com.ymm.driver.api.facade.CreateRandomNumService;
import com.ymm.driver.dao.mapper.CreateRandomNumMapper;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.math.BigDecimal;

/**
 * @Company: CUG
 * @Description: TODO
 * @Author: LiYangyong
 * @Date: 2022/8/19/019 10:32
 **/

@Component
@Service
public class CreateRandomNumServiceImpl implements CreateRandomNumService {

    @Resource
    private CreateRandomNumMapper createRandomNumMapper;

    /**
     * 司机造数平台专用
     * @param driverName
     * @param driverType
     * @param driverPhone
     * @param driverPwd
     * @param driverCarType
     * @param driverCarNum
     * @param driverIdNum
     * @param driverProfit
     * @param driverSex
     * @param driverBankCard
     * @param driverCredit
     */
    @Override
    public void createRandomNum(String driverName, Integer driverType, String driverPhone, String driverPwd, Integer driverCarType, String driverCarNum, String driverIdNum, Double driverProfit, Integer driverSex, String driverBankCard, Integer driverCredit) {
        createRandomNumMapper.createRandomNum(driverName, driverType, driverPhone, driverPwd, driverCarType, driverCarNum, driverIdNum, driverProfit, driverSex, driverBankCard, driverCredit);
    }
}
